//
// Created by liushuai on 2021/1/17.
//

#ifndef LEETCODE_HASPATHSUM_H
#define LEETCODE_HASPATHSUM_H

#include "TreeNode.h"

bool hasPathSum(TreeNode* root, int sum,int cache);
bool hasPathSum(TreeNode* root, int sum);

#endif //LEETCODE_HASPATHSUM_H
